#ifndef _KEY_H
#define _KEY_H

#include "stm32f4xx.h"
#include "stm32f4xx_conf.h"

#define KEY1_PIN             GPIO_Pin_0
#define KEY1_PORT            GPIOA
#define KEY1_CLOCK           RCC_AHB1Periph_GPIOA

#define KEY2_PIN             GPIO_Pin_13
#define KEY2_PORT            GPIOC
#define KEY2_CLOCK           RCC_AHB1Periph_GPIOC

void key1_init(void);
void key2_init(void);

#endif //_KEY_H
